package com.key.win.business.chat.vo;

import com.key.win.base.auth.AuthenticationUtil;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@ApiModel("即时消息用户VO")
@Data
public class ImUserVo implements Serializable {
    @ApiModelProperty("id")
    private String id = AuthenticationUtil.getUserId();

    @ApiModelProperty("用户昵称")
    private String nickName = AuthenticationUtil.getNickName();

    @ApiModelProperty("头像")
    private String avatar = AuthenticationUtil.getHeadImgUrl();
}
